<?php

Class ElistViewModel extends ViewModel{
   public $viewFields = array(
     'EventDiscuss'=>array('event_id','user_id','content','pubtype','addtime','_type'=>'LEFT'),
     'User'=>array('id','image','headimgurl','name','_on'=>'EventDiscuss.user_id=User.id'),
   );	
}